
<link rel="stylesheet" href="./res/style.css">
<link rel="stylesheet" href="./res/website.css">

<section class="normal markdown-section">
                                
    <h2 id="决策引擎（决策流）">决策引擎（决策流）</h2>
<h4 id="211-决策引擎接口请求说明">2.1.1 决策引擎接口请求说明</h4>
<table>
<thead>
<tr>
<th style="text-align:center">属性</th>
<th style="text-align:center">类型</th>
<th>说明</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">timestamp</td>
<td style="text-align:center">Long</td>
<td>时间戳</td>
<td>10位时间戳，精确到秒</td>
</tr>
<tr>
<td style="text-align:center">biz_enc</td>
<td style="text-align:center">String</td>
<td>加密方式</td>
<td>固定传0不加密</td>
</tr>
<tr>
<td style="text-align:center">biz_data</td>
<td style="text-align:center">JSONObject</td>
<td>业务数据</td>
<td>json格式</td>
</tr>
<tr>
<td style="text-align:center">businessId</td>
<td style="text-align:center">String</td>
<td>业务id</td>
<td>业务系统调用唯一标识</td>
</tr>
<tr>
<td style="text-align:center">organId</td>
<td style="text-align:center">Long</td>
<td>企业编号</td>
<td>企业唯一编号</td>
</tr>
<tr>
<td style="text-align:center">engineId</td>
<td style="text-align:center">Long</td>
<td>引擎 Id</td>
<td>决策引擎 Id</td>
</tr>
<tr>
<td style="text-align:center">fields</td>
<td style="text-align:center">JSONObject</td>
<td>指标数据</td>
<td>指标字段键值对</td>
</tr>
</tbody>
</table>
<h4 id="请求地址和参数">请求地址和参数</h4>
<p>请求地址：<a href="http://ip:port/runner/decision" target="_blank">http://ip:port/runner/decision</a></p>
<p>参数示例：</p>
<pre><code class="lang-json">{
<span class="hljs-string">"timestamp"</span>: <span class="hljs-number">1618883106147</span>,
<span class="hljs-string">"biz_enc"</span>: <span class="hljs-string">"0"</span>,
<span class="hljs-string">"biz_data"</span>: {
<span class="hljs-string">"businessId"</span>: <span class="hljs-string">""</span>,
<span class="hljs-string">"organId"</span>: <span class="hljs-number">46</span>,
<span class="hljs-string">"engineId"</span>: <span class="hljs-number">206</span>,
<span class="hljs-string">"fields"</span>: {
<span class="hljs-string">"jtyh_account"</span>: <span class="hljs-string">"1111"</span>,
<span class="hljs-string">"today"</span>: <span class="hljs-string">"2021-05-10"</span>
}
}
}
</code></pre>
<h4 id="212-决策引擎接口响应说明">2.1.2 决策引擎接口响应说明</h4>
<table>
<thead>
<tr>
<th style="text-align:center">属性</th>
<th style="text-align:center">类型</th>
<th>说明</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">status</td>
<td style="text-align:center">String</td>
<td>状态码</td>
<td></td>
</tr>
<tr>
<td style="text-align:center">msg</td>
<td style="text-align:center">String</td>
<td>状态信息</td>
<td></td>
</tr>
<tr>
<td style="text-align:center">data</td>
<td style="text-align:center">JSONArray</td>
<td>各个节点返回数据</td>
<td></td>
</tr>
<tr>
<td style="text-align:center">result</td>
<td style="text-align:center">String</td>
<td>结果</td>
</tr>
</tbody>
</table>
<p>返回示例:</p>
<pre><code class="lang-json">{
<span class="hljs-string">"status"</span>: <span class="hljs-string">"0x0000"</span>,
<span class="hljs-string">"msg"</span>: <span class="hljs-string">"执行成功"</span>,
<span class="hljs-string">"result"</span>: <span class="hljs-string">"拒绝"</span>,
<span class="hljs-string">"data"</span>: [
{
<span class="hljs-string">"resultType"</span>: <span class="hljs-number">2</span>,
<span class="hljs-string">"resultJson"</span>: [
{
<span class="hljs-string">"nodeId"</span>: <span class="hljs-number">2</span>,
<span class="hljs-string">"nodeName"</span>: <span class="hljs-string">"欺诈规则集"</span>,
<span class="hljs-string">"ruleResultList"</span>: [
{
<span class="hljs-string">"ruleId"</span>: <span class="hljs-number">121</span>,
<span class="hljs-string">"ruleCode"</span>: <span class="hljs-string">"ageCheck"</span>,
<span class="hljs-string">"ruleName"</span>: <span class="hljs-string">"年龄检查"</span>,
<span class="hljs-string">"desc"</span>: <span class="hljs-string">"年龄大于 40"</span>,
<span class="hljs-string">"ruleResult"</span>: <span class="hljs-string">"命中"</span>,
<span class="hljs-string">"outFields"</span>: [
    {
        <span class="hljs-string">"city_amount"</span>: <span class="hljs-string">"22"</span>
    }
]
},
{
<span class="hljs-string">"ruleId"</span>: <span class="hljs-number">122</span>,
<span class="hljs-string">"ruleCode"</span>: <span class="hljs-string">"genderCheck"</span>,
<span class="hljs-string">"ruleName"</span>: <span class="hljs-string">"性别检查"</span>,
<span class="hljs-string">"desc"</span>: <span class="hljs-string">"性别为男"</span>,
<span class="hljs-string">"ruleResult"</span>: <span class="hljs-string">"未命中"</span>
}
]
}
]
},
{
<span class="hljs-string">"resultType"</span>: <span class="hljs-number">4</span>,
<span class="hljs-string">"resultJson"</span>: [
{
<span class="hljs-string">"nodeName"</span>: <span class="hljs-string">"评分卡"</span>,
<span class="hljs-string">"score"</span>: <span class="hljs-number">98</span>,
<span class="hljs-string">"cardName"</span>: <span class="hljs-string">"用户评分卡"</span>,
<span class="hljs-string">"cardId"</span>: <span class="hljs-number">111</span>,
<span class="hljs-string">"cardCode"</span>: <span class="hljs-string">"user_card"</span>,
<span class="hljs-string">"scoreDetail"</span>: [
{
<span class="hljs-string">"score"</span>: <span class="hljs-number">20</span>,
<span class="hljs-string">"dimensionId"</span>: <span class="hljs-number">38</span>,
<span class="hljs-string">"dimensionName"</span>: <span class="hljs-string">"维度1"</span>
},
{
<span class="hljs-string">"score"</span>: <span class="hljs-number">40</span>,
<span class="hljs-string">"dimensionId"</span>: <span class="hljs-number">39</span>,
<span class="hljs-string">"dimensionName"</span>: <span class="hljs-string">"维度2"</span>
},
{
<span class="hljs-string">"score"</span>: <span class="hljs-number">38</span>,
<span class="hljs-string">"dimensionId"</span>: <span class="hljs-number">40</span>,
<span class="hljs-string">"dimensionName"</span>: <span class="hljs-string">"维度3"</span>
}
],
<span class="hljs-string">"nodeId"</span>: <span class="hljs-number">3851</span>,
<span class="hljs-string">"fieldList"</span>: [
{
<span class="hljs-string">"score"</span>: <span class="hljs-number">98</span>
}
],
<span class="hljs-string">"desc"</span>: <span class="hljs-string">"用户评分卡描述"</span>
}
]
},
{
<span class="hljs-string">"resultType"</span>: <span class="hljs-number">5</span>,
<span class="hljs-string">"resultJson"</span>: {
<span class="hljs-string">"nodeId"</span>: <span class="hljs-number">11</span>,
<span class="hljs-string">"status"</span>: <span class="hljs-string">"0x0000"</span>,
<span class="hljs-string">"nodeName"</span>: <span class="hljs-string">"哈哈黑名单"</span>,
<span class="hljs-string">"blackId"</span>: <span class="hljs-number">112</span>,
<span class="hljs-string">"blackType"</span>: <span class="hljs-string">"手机归属地-黑名单"</span>,
<span class="hljs-string">"blackName"</span>: <span class="hljs-string">"行业限制黑名单"</span>,
<span class="hljs-string">"desc"</span>: <span class="hljs-string">"黑名单描述"</span>
}
},
{
<span class="hljs-string">"resultType"</span>: <span class="hljs-number">6</span>,
<span class="hljs-string">"resultJson"</span>: {
<span class="hljs-string">"nodeId"</span>: <span class="hljs-number">11</span>,
<span class="hljs-string">"status"</span>: <span class="hljs-string">"0x0000"</span>,
<span class="hljs-string">"nodeName"</span>: <span class="hljs-string">"哼哼白名单"</span>,
<span class="hljs-string">"whiteId"</span>: <span class="hljs-number">112</span>,
<span class="hljs-string">"whiteType"</span>: <span class="hljs-string">"手机归属地-白名单"</span>,
<span class="hljs-string">"whiteName"</span>: <span class="hljs-string">" 行 业 白 名 单 "</span>,
<span class="hljs-string">"desc"</span>: <span class="hljs-string">"白名单描述"</span>
}
},
{
<span class="hljs-string">"resultType"</span>: <span class="hljs-number">9</span>,
<span class="hljs-string">"resultJson"</span>: [
{
<span class="hljs-string">"nodeId"</span>: <span class="hljs-number">11</span>,
<span class="hljs-string">"status"</span>: <span class="hljs-string">"0x0000"</span>,
<span class="hljs-string">"nodeName"</span>: <span class="hljs-string">"决策选项"</span>,
<span class="hljs-string">"outField"</span>: {
<span class="hljs-string">"fieldId"</span>: <span class="hljs-number">124</span>,
<span class="hljs-string">"fieldCode"</span>: <span class="hljs-string">"gender"</span>,
<span class="hljs-string">"fieldName"</span>: <span class="hljs-string">"性别"</span>,
<span class="hljs-string">"outValue"</span>: <span class="hljs-string">"120"</span>
}
}
]
}
]
}
</code></pre>
<h4 id="213-决策引擎接口响应-resulttype-的编号列表">2.1.3 决策引擎接口响应 resultType 的编号列表</h4>
<table>
<thead>
<tr>
<th style="text-align:center">编号</th>
<th style="text-align:center">说明</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">2</td>
<td style="text-align:center">规则集</td>
<td></td>
</tr>
<tr>
<td style="text-align:center">4</td>
<td style="text-align:center">评分卡</td>
<td></td>
</tr>
<tr>
<td style="text-align:center">5</td>
<td style="text-align:center">黑名单</td>
<td></td>
</tr>
<tr>
<td style="text-align:center">6</td>
<td style="text-align:center">白名单</td>
<td></td>
</tr>
<tr>
<td style="text-align:center">9</td>
<td style="text-align:center">决策选项</td>
<td></td>
</tr>
<tr>
<td style="text-align:center">14</td>
<td style="text-align:center">子引擎</td>
<td></td>
</tr>
<tr>
<td style="text-align:center">15</td>
<td style="text-align:center">模型</td>
<td></td>
</tr>
<tr>
<td style="text-align:center">16</td>
<td style="text-align:center">决策表</td>
</tr>
</tbody>
</table>
<h4 id="214-规则集节点-resultjson-结构说明">2.1.4 规则集节点 resultJson 结构说明</h4>
<table>
<thead>
<tr>
<th style="text-align:center">属性</th>
<th style="text-align:center">类型</th>
<th>说明</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">resultType</td>
<td style="text-align:center">Integer</td>
<td>节点类型</td>
<td>2:规则集</td>
</tr>
<tr>
<td style="text-align:center">resultJson</td>
<td style="text-align:center">JSONArray</td>
<td>结果 json</td>
<td>每个 json 是个规则节点</td>
</tr>
<tr>
<td style="text-align:center">nodeId</td>
<td style="text-align:center">Long</td>
<td>节点编号</td>
<td>节点主键</td>
</tr>
<tr>
<td style="text-align:center">nodeName</td>
<td style="text-align:center">String</td>
<td>节点名称</td>
<td></td>
</tr>
<tr>
<td style="text-align:center">ruleResultList</td>
<td style="text-align:center">JSONArray</td>
<td>规则详情</td>
<td>Json 数组</td>
</tr>
<tr>
<td style="text-align:center">ruleId</td>
<td style="text-align:center">Long</td>
<td>规则编号</td>
<td>规则主键</td>
</tr>
<tr>
<td style="text-align:center">ruleCode</td>
<td style="text-align:center">String</td>
<td>规则唯一码</td>
<td></td>
</tr>
<tr>
<td style="text-align:center">ruleName</td>
<td style="text-align:center">String</td>
<td>规则名称</td>
<td></td>
</tr>
<tr>
<td style="text-align:center">desc</td>
<td style="text-align:center">String</td>
<td>规则描述(或规则命中描述)</td>
<td></td>
</tr>
<tr>
<td style="text-align:center">outFields</td>
<td style="text-align:center">JSONArray</td>
<td>规则输出项</td>
<td>每个 json 对应一个输出字段</td>
</tr>
</tbody>
</table>
<p>规则集返回结果示例:</p>
<pre><code class="lang-json">{
<span class="hljs-string">"resultType"</span>: <span class="hljs-number">2</span>,
<span class="hljs-string">"resultJson"</span>: [
{
<span class="hljs-string">"nodeId"</span>: <span class="hljs-number">2</span>,
<span class="hljs-string">"nodeName"</span>: <span class="hljs-string">"欺诈规则集"</span>,
<span class="hljs-string">"ruleResultList"</span>: [
{
<span class="hljs-string">"ruleId"</span>: <span class="hljs-number">121</span>,
<span class="hljs-string">"ruleCode"</span>: <span class="hljs-string">"ageCheck"</span>,
<span class="hljs-string">"ruleName"</span>: <span class="hljs-string">"年龄检查"</span>,
<span class="hljs-string">"desc"</span>: <span class="hljs-string">"年龄大于 40"</span>,
<span class="hljs-string">"ruleResult"</span>: <span class="hljs-string">"命中"</span>,
<span class="hljs-string">"outFields"</span>: [
{
<span class="hljs-string">"city_amount"</span>: <span class="hljs-string">"22"</span>
}
]
},
{
<span class="hljs-string">"ruleId"</span>: <span class="hljs-number">122</span>,
<span class="hljs-string">"ruleCode"</span>: <span class="hljs-string">"genderCheck"</span>,
<span class="hljs-string">"ruleName"</span>: <span class="hljs-string">"性别检查"</span>,
<span class="hljs-string">"desc"</span>: <span class="hljs-string">"性别为男"</span>,
<span class="hljs-string">"ruleResult"</span>: <span class="hljs-string">"未命中"</span>
}
]
}
]
}
</code></pre>
<h4 id="215-评分卡节点-resultjson-结构说明">2.1.5 评分卡节点 resultJson 结构说明</h4>
<table>
<thead>
<tr>
<th style="text-align:center">属性</th>
<th style="text-align:center">类型</th>
<th>说明</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">resultType</td>
<td style="text-align:center">Integer</td>
<td>节点类型</td>
<td>4:评分卡</td>
</tr>
<tr>
<td style="text-align:center">resultJson</td>
<td style="text-align:center">String(JSON)</td>
<td>结果json</td>
<td></td>
</tr>
<tr>
<td style="text-align:center">nodeId</td>
<td style="text-align:center">Long</td>
<td>节点编号</td>
<td></td>
</tr>
<tr>
<td style="text-align:center">nodeName</td>
<td style="text-align:center">String</td>
<td>节点名称</td>
<td></td>
</tr>
<tr>
<td style="text-align:center">score</td>
<td style="text-align:center">String</td>
<td>评分卡得分</td>
<td></td>
</tr>
<tr>
<td style="text-align:center">cardId</td>
<td style="text-align:center">Long</td>
<td>评分卡编号</td>
<td></td>
</tr>
<tr>
<td style="text-align:center">cardName</td>
<td style="text-align:center">String</td>
<td>评分卡名称</td>
<td></td>
</tr>
<tr>
<td style="text-align:center">cardCode</td>
<td style="text-align:center">String</td>
<td>评分卡编码</td>
<td></td>
</tr>
<tr>
<td style="text-align:center">desc</td>
<td style="text-align:center">String</td>
<td>评分卡描述</td>
<td></td>
</tr>
<tr>
<td style="text-align:center">scoreDetail</td>
<td style="text-align:center">JSONArray</td>
<td>评分详情</td>
<td></td>
</tr>
<tr>
<td style="text-align:center">dimensionName</td>
<td style="text-align:center">String</td>
<td>维度名称</td>
<td></td>
</tr>
<tr>
<td style="text-align:center">fieldList</td>
<td style="text-align:center">JSONArray</td>
<td>输出字段信息</td>
</tr>
</tbody>
</table>
<p>评分卡返回结果示例:</p>
<pre><code class="lang-json">{
<span class="hljs-string">"resultType"</span>: <span class="hljs-number">4</span>,
<span class="hljs-string">"resultJson"</span>: [
{
<span class="hljs-string">"nodeName"</span>: <span class="hljs-string">"评分卡"</span>,
<span class="hljs-string">"score"</span>: <span class="hljs-number">98</span>,
<span class="hljs-string">"cardName"</span>: <span class="hljs-string">"用户评分卡"</span>,
<span class="hljs-string">"cardId"</span>: <span class="hljs-number">111</span>,
<span class="hljs-string">"cardCode"</span>: <span class="hljs-string">"user_card"</span>,
<span class="hljs-string">"scoreDetail"</span>: [
{
<span class="hljs-string">"score"</span>: <span class="hljs-number">20</span>,
<span class="hljs-string">"dimensionId"</span>: <span class="hljs-number">38</span>,
<span class="hljs-string">"dimensionName"</span>: <span class="hljs-string">"维度1"</span>
},
{
<span class="hljs-string">"score"</span>: <span class="hljs-number">40</span>,
<span class="hljs-string">"dimensionId"</span>: <span class="hljs-number">39</span>,
<span class="hljs-string">"dimensionName"</span>: <span class="hljs-string">"维度2"</span>
},
{
<span class="hljs-string">"score"</span>: <span class="hljs-number">38</span>,
<span class="hljs-string">"dimensionId"</span>: <span class="hljs-number">40</span>,
<span class="hljs-string">"dimensionName"</span>: <span class="hljs-string">"维度3"</span>
}
],
<span class="hljs-string">"nodeId"</span>: <span class="hljs-number">3851</span>,
<span class="hljs-string">"fieldList"</span>: [
{
<span class="hljs-string">"score"</span>: <span class="hljs-number">98</span>
}
],
<span class="hljs-string">"desc"</span>: <span class="hljs-string">"用户评分卡描述"</span>
}
]
}
</code></pre>
<h4 id="216-黑名单节点-resultjson-结构说明">2.1.6 黑名单节点 resultJson 结构说明</h4>
<table>
<thead>
<tr>
<th style="text-align:center">属性</th>
<th style="text-align:center">类型</th>
<th>说明</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">resultType</td>
<td style="text-align:center">Integer</td>
<td>节点类型</td>
<td>5:黑名单</td>
</tr>
<tr>
<td style="text-align:center">resultJson</td>
<td style="text-align:center">String(JSON)</td>
<td>结果 json</td>
<td></td>
</tr>
<tr>
<td style="text-align:center">nodeId</td>
<td style="text-align:center">Long</td>
<td>节点编号</td>
<td>节点主键</td>
</tr>
<tr>
<td style="text-align:center">status</td>
<td style="text-align:center">String</td>
<td>节点执行状态</td>
<td>0x0000</td>
</tr>
<tr>
<td style="text-align:center">nodeName</td>
<td style="text-align:center">String</td>
<td>节点名称</td>
<td></td>
</tr>
<tr>
<td style="text-align:center">blackId</td>
<td style="text-align:center">Long</td>
<td>黑名单编号</td>
<td></td>
</tr>
<tr>
<td style="text-align:center">blackType</td>
<td style="text-align:center">String</td>
<td>黑名单类型</td>
<td></td>
</tr>
<tr>
<td style="text-align:center">blackName</td>
<td style="text-align:center">String</td>
<td>黑名单名称</td>
<td></td>
</tr>
<tr>
<td style="text-align:center">desc</td>
<td style="text-align:center">String</td>
<td>黑名单描述</td>
</tr>
</tbody>
</table>
<p>黑名单返回结果示例:</p>
<pre><code class="lang-json">{
<span class="hljs-string">"resultType"</span>: <span class="hljs-number">5</span>,
<span class="hljs-string">"resultJson"</span>: {
<span class="hljs-string">"nodeId"</span>: <span class="hljs-number">11</span>,
<span class="hljs-string">"status"</span>: <span class="hljs-string">"0x0000"</span>,
<span class="hljs-string">"nodeName"</span>: <span class="hljs-string">"行业限制黑名单"</span>,
<span class="hljs-string">"blackId"</span>: <span class="hljs-number">112</span>,
<span class="hljs-string">"blackType"</span>: <span class="hljs-string">"行业限制黑名单"</span>,
<span class="hljs-string">"blackName"</span>: <span class="hljs-string">"行业限制黑名单"</span>,
<span class="hljs-string">"desc"</span>: <span class="hljs-string">"黑名单描述"</span>
}
}
</code></pre>
<h4 id="217-白名单节点-resultjson----结构说明">2.1.7 白名单节点 resultJson    结构说明</h4>
<table>
<thead>
<tr>
<th style="text-align:center">属性</th>
<th style="text-align:center">类型</th>
<th>说明</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">resultType</td>
<td style="text-align:center">Integer</td>
<td>节点类型</td>
<td>6:白名单</td>
</tr>
<tr>
<td style="text-align:center">resultJson</td>
<td style="text-align:center">String(JSON)</td>
<td>结果 json</td>
<td></td>
</tr>
<tr>
<td style="text-align:center">nodeId</td>
<td style="text-align:center">Long</td>
<td>节点编号</td>
<td>节点主键</td>
</tr>
<tr>
<td style="text-align:center">status</td>
<td style="text-align:center">String</td>
<td>节点执行状态</td>
<td>0x0000</td>
</tr>
<tr>
<td style="text-align:center">nodeName</td>
<td style="text-align:center">String</td>
<td>节点名称</td>
<td></td>
</tr>
<tr>
<td style="text-align:center">whiteId</td>
<td style="text-align:center">Long</td>
<td>白名单编号</td>
<td></td>
</tr>
<tr>
<td style="text-align:center">whiteType</td>
<td style="text-align:center">String</td>
<td>白名单类型</td>
<td></td>
</tr>
<tr>
<td style="text-align:center">whiteName</td>
<td style="text-align:center">String</td>
<td>白名单名称</td>
<td></td>
</tr>
<tr>
<td style="text-align:center">desc</td>
<td style="text-align:center">String</td>
<td>白名单描述</td>
</tr>
</tbody>
</table>
<p>白名单返回结果示例:</p>
<pre><code class="lang-json">{
<span class="hljs-string">"resultType"</span>: <span class="hljs-number">6</span>,
<span class="hljs-string">"resultJson"</span>: {
<span class="hljs-string">"nodeId"</span>: <span class="hljs-number">11</span>,
<span class="hljs-string">"status"</span>: <span class="hljs-string">"0x0000"</span>,
<span class="hljs-string">"nodeName"</span>: <span class="hljs-string">"手机归属地-白名单"</span>,
<span class="hljs-string">"whiteId"</span>: <span class="hljs-number">112</span>,
<span class="hljs-string">"whiteType"</span>: <span class="hljs-string">"手机归属地-白名单"</span>,
<span class="hljs-string">"whiteName"</span>: <span class="hljs-string">"手机归属地-白名单"</span>,
<span class="hljs-string">"desc"</span>: <span class="hljs-string">"白名单描述"</span>
}
}
</code></pre>
<h4 id="218-决策选项节点-resultjson-结构说明">2.1.8 决策选项节点 resultJson 结构说明</h4>
<table>
<thead>
<tr>
<th style="text-align:center">属性</th>
<th style="text-align:center">类型</th>
<th>说明</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">resultType</td>
<td style="text-align:center">Integer</td>
<td>节点类型</td>
<td>9:决策选项</td>
</tr>
<tr>
<td style="text-align:center">resultJson</td>
<td style="text-align:center">String(JSON)</td>
<td>结果 json</td>
<td></td>
</tr>
<tr>
<td style="text-align:center">nodeId</td>
<td style="text-align:center">Long</td>
<td>节点编号</td>
<td>节点主键</td>
</tr>
<tr>
<td style="text-align:center">status</td>
<td style="text-align:center">String</td>
<td>节点执行状态</td>
<td>0x0000</td>
</tr>
<tr>
<td style="text-align:center">nodeName</td>
<td style="text-align:center">String</td>
<td>节点名称</td>
<td></td>
</tr>
<tr>
<td style="text-align:center">outFields</td>
<td style="text-align:center">String(JSON)</td>
<td>输出变量</td>
<td></td>
</tr>
<tr>
<td style="text-align:center">fieldId</td>
<td style="text-align:center">Long</td>
<td>字段编号</td>
<td></td>
</tr>
<tr>
<td style="text-align:center">fieldCode</td>
<td style="text-align:center">String</td>
<td>字段唯一码</td>
<td></td>
</tr>
<tr>
<td style="text-align:center">fieldName</td>
<td style="text-align:center">String</td>
<td>字段名称</td>
<td></td>
</tr>
<tr>
<td style="text-align:center">outValue</td>
<td style="text-align:center">String</td>
<td>输出变量结果</td>
</tr>
</tbody>
</table>
<p>决策选项返回结果示例：</p>
<pre><code class="lang-json">{
<span class="hljs-string">"resultType"</span>: <span class="hljs-number">9</span>,
<span class="hljs-string">"resultJson"</span>: [
{
<span class="hljs-string">"nodeId"</span>: <span class="hljs-number">11</span>,
<span class="hljs-string">"status"</span>: <span class="hljs-string">"0x0000"</span>,
<span class="hljs-string">"nodeName"</span>: <span class="hljs-string">"决策选项"</span>,
<span class="hljs-string">"outField"</span>: {
<span class="hljs-string">"fieldId"</span>: <span class="hljs-number">124</span>,
<span class="hljs-string">"fieldCode"</span>: <span class="hljs-string">"gender"</span>,
<span class="hljs-string">"fieldName"</span>: <span class="hljs-string">"性别"</span>,
<span class="hljs-string">"outValue"</span>: <span class="hljs-string">"120"</span>
}
}
]
}
</code></pre>

    
    </section>